
{% extends "base.html" %}

{% block title %}Dar de Alta Autor{% endblock %}

{% block header %}<b>Nuevo Autor</b>{% endblock %}


{% block content %}
<div id="agregar" class="agregar">
  <p> Campos requeridos para registrar nuevo autor:</p>
 
 
 
  <form method="post" action="http://localhost/accounts/manager/autorComplete/">
  {{ formset.management_form }} 
  {%for form in formset.forms%}
    <table width="383" border="0">
      <tr>
        <td>Usuario</td>
        <td>{{form.username}}</td>
      </tr>
      <tr>
        <td>Email</td>
        <td>{{form.email}}</td>
      </tr>
      <tr style="display:none">
        <td>Password</td>
        <td>{{form.password}}</td>
      </tr>
      <tr>
        <td>Nombre</td>
        <td>{{form.first_name}}</td>
      </tr>
      <tr>
        <td>Apellido</td>
        <td>{{form.last_name}}</td>
      </tr>
      <tr>
        <td>Pais</td>
        <td>{{form.pais}}</td>
      </tr>
      <tr>
        <td>Fecha de nacimiento</td>
        <td>{{form.fecha_nacimiento}}</td>
      </tr>
      <tr>
        <td>Fecha de defuncion</td>
        <td>{{form.defuncion}}</td>
      </tr>
      <tr>
        <td>Biografia</td>
        <td>{{form.biografia}}</td>
      </tr>
      <tr  style="display:none">
        <td>Ultimo inicio..</td>
        <td>{{form.last_login}}</td>
      </tr>
      <tr  style="display:none">
        <td>date joined..</td>
        <td>{{form.date_joined}}</td>
      </tr>
    </table>
    {%endfor%}
  <input name="submit" type="submit" value="submit">
  </form>
</div>
{% endblock %}

{% block footer %}
<p>Gracias</p>

<!--

-->
{% endblock %}
